package darknet.application.chat.spec;

/**
 * Chat application observer.
 *
 * @author Yoyo
 */
public interface ChatObserver {

    /**
     * A session start.
     *
     * @param session
     */
    void newSessionStart(Session session);

    /**
     * A session exit.
     * @param session
     */
    void newSessionExit(Session session);

    /**
     * A channel start
     * @param channel
     */
    void newChannelStart(Channel channel);

    /**
     * A channel exit.
     * @param channel
     */
    void newChannelExit(Channel channel);
}
